﻿using FreeSql.DataAnnotations;

namespace System.AuthCenter.DBModels
{
    /// <summary>
    /// 用户角色映射表
    /// </summary>
    [Table(Name = "UserRoles")]
    public class UserRoles
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UID { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public long RoleID { get; set; }

        public DateTime Created { get; set; } = DateTime.Now;
        public long CreatedBy { get; set; }
        public DateTime Modified { get; set; } = DateTime.Now;
        public long ModifiedBy { get; set; }
    }
}
